package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 cost_price
 *
 * @author ruoyi
 * @date 2024-09-17
 */
@Data
public class PriceCost extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 报价城市ID */
    @Excel(name = "报价城市ID")
    private Integer priceCityId;

    /** 报价城市名称 */
    @Excel(name = "报价城市名称")
    private String priceCityName;

    /** 小时价格 */
    @Excel(name = "小时价格")
    private Integer priceHourly;

    /** 天价格 */
    @Excel(name = "天价格")
    private Integer priceDaily;

    /** 是否有效（0初始、1有效） */
    @Excel(name = "是否有效", readConverterExp = "0=初始、1有效")
    private Integer status;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE).append("id", this.getId()).append("priceCityId", this.getPriceCityId())
                .append("priceCityName", this.getPriceCityName()).append("priceHourly", this.getPriceHourly())
                .append("priceDaily", this.getPriceDaily()).append("status", this.getStatus()).append("createTime", this.getCreateTime())
                .append("updateTime", this.getUpdateTime())
            .toString();
    }
}
